const path = ['仓储管理','认证单列表'];
const configArr = [
	{
        color: "brown",
        label: "全部认证单",
        value: "type1",
        count: 300
    },
    {
        color: "green",
        label: "制证中",
        value: "type2",
        count: 300
    },
]
//
const filterOption = {
  items: [
    {
      label: "关键字",
      type: "input",
      data: undefined,
      placeholder: "调拨单/条码/商品编码",
      value: undefined,
      key: "keyWord"
    },
    {
      label: "认证单类型",
      type: "dropdown",
      data: [
        {
          label: "采购认证",
          value: 1
        },
        {
          label: "出库认证",
          value: 2
        },
		{
		  label: "售后认证",
		  value: 3
		},
		{
		  label: "抽检认证",
		  value: 4
		}
      ],
      placeholder: "请选择",
      value: undefined,
      key: "orderStatus"
    },
    {
      label: "认证单状态",
      type: "dropdown",
      data: [
        {
          label: "待制证",
          value: 10
        },
        {
          label: "制证中",
          value: 20
        },
		{
		  label: "已制证",
		  value: 30
		},
		{
		  label: "已完结",
		  value: 40
		},
		{
		  label: "已作废",
		  value: 50
		},
      ],
      placeholder: "请选择",
      value: undefined,
      key: "saleChannel"
    },
    {
      label: "认证类型",
      type: "dropdown",
      data: [
		{
			label: "钻石鉴定",
			value: 1
		},
		{
			label: "钻石分级",
			value: 2
		},
		{
			label: "贵金属含量检测",
			value: 3
		},
		
      ],
      placeholder: "请选择",
      value: undefined,
      key: "saleMan"
    },
    {
      label: "认证机构",
      type: "dropdown",
      data: [
		{
			label: "国际",
			value: 1
		},
		{
			label: "工商联",
			value: 2
		},
      ],
      placeholder: "请选择",
      value: undefined,
      key: "a31"
    },
    {
      label: "创建时间",
      type: "datetimerange",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "a11"
    },
  ],
  btnGroup: [{
      label: "查询",
      type: "search"
    },
    {
      label: "清除",
      type: "clear"
    }
  ],
  close: true
};
//分页数据
const paginationObject = {
  currentPage: 1,
  pageSize: 1,
  pageTotal: 1,
  total:1,
  num1:1,
  num2:1
}
const tableHeaderData = [
	{
		prop:'authenticationBillTyle',
		label:'认证单类型',
		width:''
	},
	{
		prop:'authenticationOrganization',
		label:'认证机构',
		width:''
	},
	{
		prop:'authenticationTyle',
		label:'认证类型',
		width:''
	},
	{
		prop:'createBy',
		label:'创建人',
		width:''
	},
	{
		prop:'createTime',
		label:'创建时间',
		width:'160'
	},
	{
		prop:'showStatus',
		label:'认证单状态',
		width:''
	},
	{
		prop:'remark',
		label:'备注',
		width:''
	},
]
const tableData = []
//
let Model = {
	data() {
		return {
			Model: {
				path,
				configArr,
				filterOption,
				TableSelectData:[],
				tableData,
				tableHeaderData,
				paginationObject,
				editDialogObsolete:false,
				importFileDialog:false,
				fileupName:'',
			}
		}
	}
}
export default Model;
